<div id="prime" class="huibg">
	<div class="prime_title">
		<!-- <div class="prime_title_ico"></div> -->
		<div class="aztitle finevisa">精品签证
			<div class="prime_title_more">
				<a href="global.php">更多签证>></a>
			</div>
		</div>
	</div>
	
	<div class="prime_show">
		<?php 
			require 'config.php';
			include_once 'function.php';
			$res = getFirstPickCountry();
			foreach ($res as $row) {
				echo <<< LABEL
					<div class="prime_show_block">
						<div class="row">
							<div class="col-sm-6">
								<div class="ih-item circle effect3 top_to_bottom">
									<a href="country.php?countryId=$row[id]">
										<div class="img">
										<img src="$img_url$row[img]" >
										</div>
										<div class="info">
											<h3>
												$row[name]<br> <span>￥$row[price]起</span>
											</h3>
											<p>$row[pass_rate]的通过率</p>
										</div>
									</a>
								</div>
							</div>
						</div>
					</div>
LABEL;
			}
		?>
	</div>
	<div style="clear: both"></div>
	<div class="prime_show_conntry">
			<?php 
				$secRes = getSecondPickCountry();
				$index = 0;
				
				foreach ($secRes as $row) {
					if($index % 4 == 0) {
						echo <<< LABEL
							<div class="prime_show_conntry_float">
								<div class="prime_show_conntry_br"></div>
								<div class="prime_show_conntry_hr"></div>
LABEL;
					}					
					echo <<< LABEL
						<div class="prime_show_conntry_list">
							<a href="country.php?countryId=$row[id]">
								<div class="prime_show_conntry_list_txt">
									<img src="$img_url$row[national_flag]" width="75px">
									<div class="prime_show_conntry_txt">
										<p>$row[name]</p>
									</div>
									<div class="prime_show_conntry_txt">
										<span>￥$row[price]<p>起</p></span>
									</div>
								</div>
							</a>
						</div>
LABEL;
					if($index % 4 == 3) {
						echo '</div>';
					}
					$index ++;
				}
			?>
	</div>
</div>
